Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update $ELASTICSEARCH_VERSION to 7.17.27 #220

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

jreid
Copy link
Contributor

@jreid jreid commented Jan 31, 2025

What was changed

Bump the elasticsearch version in the docker-compose repo's .env file to 7.17.27

Why?

There's a bug with linux kernel 6.12.x and older elasticsearch versions that will cause the startup of the elasticsearch container to fail with a JDK CGroup error.

Bumping the elasticsearch container to the newer 7.17.x range fixed the issue.

https://stackoverflow.com/a/79244483 turned me onto this as a fix.

Checklist

  1. Closes [Bug] Crash on linux 6.12 #218
  2. How was this tested:
    By running docker-compose on a fairly-vanilla archlinux install running Linux 6.12.4-arch1-1

Bump the elasticsearch version in the docker-compose repo's .env file to 7.17.27
@rafaelreis-se
Copy link

This change also fixes the same CGroup error on Mac M3 (Apple Silicon).
I was experiencing the same JDK CGroup error:
java.lang.NullPointerException: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" because "anyController" is null

Updating to Elasticsearch 7.17.27 resolved the issue on my machine as well. This confirms the fix works across different Apple Silicon architectures.

@robholland robholland merged commit 921f1cc into temporalio:main Feb 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Crash on linux 6.12
3 participants